home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
bread-cooking.swf
/
scripts
/
frame_84
/
PlaceObject2_48_957
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2011-01-13
|
365b
|
20 lines
onClipEvent(enterFrame){
if(_root.isGameOver)
{
return undefined;
}
if(this.hitTest(_root._xmouse,_root._ymouse,false))
{
if(state == 0 && _root.cursor.getState() == 3)
{
this.gotoAndStop(2);
state = 1;
}
}
else if(state == 1)
{
this.gotoAndStop(1);
state = 0;
}
}